package org.chen.aao.common.ai.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("translation_history")
public class TranslateHistory {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String sourceText;

    private String translatedText;

    private String sourceLang;

    private String targetLang;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
